/**
 * 
 */
package com.dp.struct.bridge;

/**
 * This is to describe bridge pattern.
 * 
 * The intent of this pattern is to decouple abstraction from implementation so
 * that two can vary independently. It is used to separate out interface from
 * its implementation
 * 
 * @author Sunaina.Sharma
 * 
 */
public class BridgeEx {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Switch switches = new Light();
		switches.switchOn();
	}
}
